import axios from "axios"

const http = axios.create({
    baseURL: '/ink',
    // 请求带上 cookie
    withCredentials: true,
    // 定义请求超时时间
    timeout: 10000,
    headers: {
        'Content-Type': 'application/json; charset=utf-8'
    }
});
export default http;